package com.bxl;

import com.bxl.pojo.News;

import java.sql.ResultSet;
import java.util.List;

public interface SelectNews {
    public List<News> selectNewa(int id);

    public List<News> selectNewa(String name);

    public int insertNews(int id,String title);
}
